/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: max.jianhua
 * @Last Modified time: 2020-11-20 15:21:28
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 总部金融科评审(OEM)
// 分页查询 /ttFiTripartiteApply/page4

export const queryList = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiTripartiteApply/page4`, params)



// 数据查询GET /ttFiTripartiteApply/selectSubmit4
export const selectData = (params) => axios.get(`${SERVER.WHOLESALES}/ttFiTripartiteApply/selectSubmit4`, {
  params
})


// 查询详情  GET /ttFiTripartiteApply/selectSubmit4?id=主键id
export const getDetailById = (id) => axios.get(`${SERVER.WHOLESALES}/ttFiTripartiteApply/selectSubmit4?id=${id}`)


// 审批通过POST /ttFiTripartiteApply/submit4
export const fsSubmit = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiTripartiteApply/submit4`, params)

// 总部金融科评审(OEM)审批驳回GET /ttFiTripartiteApply/reject4
export const fsReject = (params) => axios.post(`${SERVER.WHOLESALES}/ttFiTripartiteApply/reject4`, params)
